// import com.alibaba.druid.sql.ast.SQLStatement;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

// import java.util.ArrayList;
// import java.util.List;

#include "DrdsRemoveDDLJob.h"
#include "../../visitor/MySqlASTVisitor.h"

DrdsRemoveDDLJob::DrdsRemoveDDLJob()
{
  jobIds = std::make_shared<std::list<long>>();
}
void DrdsRemoveDDLJob::accept0(MySqlASTVisitor_ptr visitor)
{
  visitor->visit(SharedObject(DrdsRemoveDDLJob));
  visitor->endVisit(SharedObject(DrdsRemoveDDLJob));
}

BOOL_ptr DrdsRemoveDDLJob::isAllCompleted()
{
  return allCompleted;
}

void DrdsRemoveDDLJob::setAllCompleted(BOOL_ptr allCompleted)
{
  this->allCompleted = allCompleted;
}

BOOL_ptr DrdsRemoveDDLJob::isAllPending()
{
  return allPending;
}

void DrdsRemoveDDLJob::setAllPending(BOOL_ptr allPending)
{
  this->allPending = allPending;
}

std::shared_ptr<std::list<long>> DrdsRemoveDDLJob::getJobIds()
{
  return jobIds;
}

void DrdsRemoveDDLJob::addJobId(long id)
{
  jobIds->push_back(id);
}
